package com.book.service;

import com.book.dto.UserPage;
import com.book.entity.User;
import com.book.utils.ResponseResult;

public interface UserService {
    ResponseResult editSelf(String code, User user);

    ResponseResult getSelf(String userId);

    ResponseResult editPwd(String userId, String code, String email, String pwd);

    ResponseResult getList(UserPage userPage);

    ResponseResult updateStatus(User user);

    ResponseResult resetPwd(User user);

    ResponseResult deleteUser(String id);
}
